<template>
  <NgFormDesign :template.sync="template" :config="formConfig" @getModel="getModel"></NgFormDesign>
</template>

<script>
import { NgFormDesign } from '@/components/packages/index.js'
export default {
  components: { NgFormDesign },
  data() {
    return {
      formConfig: {},
      template: {
        list: [],
        config: {
          labelPosition: "left",
          labelWidth: 100,
          size: 'mini',
          outputHidden: true,
          hideRequiredMark: false,
          syncLabelRequired: false,
          customStyle: ""
        }
      }
    }
  },
  computed: {},
  created() { },
  methods: {
    getModel(val) {
      console.log(20, val);
    }
  },
}
</script>

<style scoped lang="scss"></style>